package com.qianfeng.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qianfeng.entity.base.BaseDto;

import java.util.Date;
//@Document(indexName = "goods" , type = "docs", shards = 1, replicas = 0)
@TableName("goods")
public class Goods extends BaseDto {

//  @Field(type = FieldType.Text)
  @TableField("name")
  private String name;
  @TableField("merchant_id")
  private Long merchantId;
  @TableField("type_id")
  private Long typeId;
  @TableField("pic")
  private String pic;
//  @Field(type = FieldType.Text)
  @TableField("promote")
  private String promote;
//  @Field(type = FieldType.Text)
  @TableField("sku_title")
  private String skuTitle;
  @TableField("sku_cost")
  private String skuCost;
  @TableField("sku_price")
  private String skuPrice;
  @TableField("sku_pmoney")
  private String skuPmoney;
  @TableField("order_num")
  private Long orderNum;
  @TableField("state")
  private Long state;
//  @Field(type = FieldType.Date)
  @TableField("create_time")
  private Date createTime;


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Long getMerchantId() {
    return merchantId;
  }

  public void setMerchantId(Long merchantId) {
    this.merchantId = merchantId;
  }

  public Long getTypeId() {
    return typeId;
  }

  public void setTypeId(Long typeId) {
    this.typeId = typeId;
  }

  public String getPic() {
    return pic;
  }

  public void setPic(String pic) {
    this.pic = pic;
  }

  public String getPromote() {
    return promote;
  }

  public void setPromote(String promote) {
    this.promote = promote;
  }

  public String getSkuTitle() {
    return skuTitle;
  }

  public void setSkuTitle(String skuTitle) {
    this.skuTitle = skuTitle;
  }

  public String getSkuCost() {
    return skuCost;
  }

  public void setSkuCost(String skuCost) {
    this.skuCost = skuCost;
  }

  public String getSkuPrice() {
    return skuPrice;
  }

  public void setSkuPrice(String skuPrice) {
    this.skuPrice = skuPrice;
  }

  public String getSkuPmoney() {
    return skuPmoney;
  }

  public void setSkuPmoney(String skuPmoney) {
    this.skuPmoney = skuPmoney;
  }

  public Long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(Long orderNum) {
    this.orderNum = orderNum;
  }

  public Long getState() {
    return state;
  }

  public void setState(Long state) {
    this.state = state;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }
}
